package com.smsc.headend.task.engine.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smsc.headend.module.fwu.entity.FirmwareType;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

/**
 * @author qinbin
 * @date 2021/4/28
 * @vison v1.0
 */
public interface FirmwareTypeMapper extends BaseMapper<FirmwareType> {

//    @Select("SELECT FW_TYPE_ID,FW_TYPE_DESC,DEVICE_TYPE,VER_OBIS FROM DD_FIRMWARE_TYPE WHERE 1=1 AND " +
//            "DEVICE_TYPE = #{deviceType} AND FW_TYPE_ID= #{fwTypeId}")
//    @ResultType(FirmwareType.class)
//    FirmwareType getByDeviceTypeAndFwTypeId(@Param("deviceType") Long deviceType, @Param("fwTypeId")Long fwTypeId);
}
